home *** CD-ROM | disk | FTP | other *** search
- ## constrain_test
- # this test constrains the job to execute at 4:10:33 PM but not after
- # 5:10:33 PM (constrained to one hour.)
- # effect: If you were to launch this job at:
- # 3:10:33 PM, it would NOT fire because we have not reached the trigger time yet (as expected.)
- # 4:10:33 PM, it would fire because we have reached the trigger time
- # 5:10:33 PM, it would fire because we have reached the trigger time and are within the window
- # 5:10:34 PM, it would NOT fire because we are outside the window
- {
- -name constrain_test
- -start -time 4:10:33 PM -constrain 0 1 0 0
- -action -print Job executed
- }
-